<?php $v =& $this->validation ?>

	<h2>Add a new Category</h2>	
	
	<div class="form_error">
		<?=$v->error_string?>
	</div>
	
	<?=form_open('admin/categories/add')?>
		<p><label for="name">* Name:</label><input type="text" name="name" value="<?=$v->name?>" id="name" class="<?=$v->name_error?>" /></p>
		<p><label for="description">Description: </label><input type="text" name="description" value="<?=$v->description?>" id="description" class="<?=$v->description_error?>" /></p>
		<p><button type="submit">Add</button></p>
	</form>